package com.gitee.sop.sdk.open.param;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: Admin
 * @date: 2021/3/18
 * @description:
 * @copyright: 重庆万蓝兴科技有限公司
 */
public class CommonParam {
    /**
     * 请求方法名
     */
    @ApiModelProperty(required = true, notes = "蓝星云开放平台提供的接口名", example = "open.auth.code.send")
    private String method;

    /**
     * 请求方式
     */
    @ApiModelProperty(required = true, notes = "蓝星云开放平台提供的接口需要的请求方式,GET/POST/PUT/DELETE", example = "POST")
    private String requestMethod;

    /**
     * 参数
     */
    @ApiModelProperty(notes = "蓝星云开放平台提供接口中业务请求参数")
    private JSONObject params;


    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public JSONObject getParams() {
        return params;
    }

    public void setParams(JSONObject params) {
        this.params = params;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }
}
